package com.yyds.blackmagic.mapper;


import com.yyds.blackmagic.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    public List<Category> findAll();
    public Category findOne(int id);
    public int updateCategory(Category category);
    public int deleteCategory(int id);
    public int addCategory(Category category);
}
